All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.sg.SGSoundChannel
java.lang.Object
|
+----quicktime.QTObject
|
+----quicktime.std.comp.ComponentIdentifier
|
+----quicktime.std.comp.Component
|
+----quicktime.std.sg.SGChannel
|
+----quicktime.std.sg.AudioChannel
|
+----quicktime.std.sg.SGSoundChannel
- public final class SGSoundChannel
- extends AudioChannel
- implements QuickTimeLib
Assists in importing sound into a movie.
The SGChannel implements methods for a corresponding QuickTime
ComponentInstance structure.
-
SGSoundChannel(SequenceGrabber)
- Creates a sequence grabber channel and assigns a channel component to the channel.
-
getInputDriver()
- Get the Sound Input Driver
QuickTime::SGGetSoundInputDriver QuickTime::SGGetSoundInputDriver
-
getRecordChunkSize()
- Get the buffer size (in seconds) of the record buffer
QuickTime::SGGetSoundRecordChunkSize QuickTime::SGGetSoundRecordChunkSize
-
getSoundInputParameters()
- Get some parameters that relate to the current sound recording.
-
getSoundInputRate()
- Get the Sound Input Rate
QuickTime::SGGetSoundInputRate QuickTime::SGGetSoundInputRate
-
setInputDriver(String)
- Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged
QuickTime::SGSetSoundInputDriver QuickTime::SGSetSoundInputDriver
QuickTime::SGSoundInputDriverChanged QuickTime::SGSoundInputDriverChanged
-
setRecordChunkSize(int)
- Set the buffer size for sound recording in seconds
QuickTime::SGSetSoundRecordChunkSize QuickTime::SGSetSoundRecordChunkSize
-
setSoundInputParameters(int, int, int)
- Set some parameters that relate to sound recording.
-
setSoundInputRate(float)
- Set the Sound Input Rate
QuickTime::SGSetSoundInputRate QuickTime::SGSetSoundInputRate
SGSoundChannel
public SGSoundChannel(SequenceGrabber owner) throws StdQTException
- Creates a sequence grabber channel and assigns a channel component to the channel.
The channel component is responsible for providing digitized data to the
sequence grabber component.
QuickTime::SGNewChannel
- Parameters:
- owner - specifies the sequence grabber component the channel is attached to.
setSoundInputParameters
public void setSoundInputParameters(int sampleSize,
int numChannels,
int compressionType) throws StdQTException
- Set some parameters that relate to sound recording.
QuickTime::SGSetSoundInputParameters QuickTime::SGSetSoundInputParameters
- Parameters:
- sampleSize - Specifies the number of bits in each sound sample.
Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..
- numChannels - Specifies the number of sound channels used by the sound sample.
Set this field to 1 for monaural sounds; set it to 2 for stereo sounds...
- compressionType - Specifies the number of bits in each sound sample.
Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..
getSoundInputParameters
public SGChannelInfo getSoundInputParameters() throws StdQTException
- Get some parameters that relate to the current sound recording.
QuickTime::SGGetSoundInputParameters QuickTime::SGGetSoundInputParameters
- Parameters:
- Returns - an SGChannel Info structure describing the Channel.
setSoundInputRate
public void setSoundInputRate(float rate) throws StdQTException
- Set the Sound Input Rate
QuickTime::SGSetSoundInputRate QuickTime::SGSetSoundInputRate
- Parameters:
- rate - Specifies the rate at which the sound channel is to acquire data.
getSoundInputRate
public float getSoundInputRate() throws StdQTException
- Get the Sound Input Rate
QuickTime::SGGetSoundInputRate QuickTime::SGGetSoundInputRate
- Parameters:
- rate - Specifies the rate at which the sound channel is to acquire data.
getInputDriver
public SPBDevice getInputDriver() throws StdQTException
- Get the Sound Input Driver
QuickTime::SGGetSoundInputDriver QuickTime::SGGetSoundInputDriver
- Returns:
- the Sound Input driver in use by this channel.
setRecordChunkSize
public void setRecordChunkSize(int seconds) throws StdQTException
- Set the buffer size for sound recording in seconds
QuickTime::SGSetSoundRecordChunkSize QuickTime::SGSetSoundRecordChunkSize
- Parameters:
- seconds - the buffer size for the channel to use.
getRecordChunkSize
public int getRecordChunkSize() throws StdQTException
- Get the buffer size (in seconds) of the record buffer
QuickTime::SGGetSoundRecordChunkSize QuickTime::SGGetSoundRecordChunkSize
- Returns:
- the Sound Input driver in use by this channel.
setInputDriver
public void setInputDriver(String driverName) throws StdQTException
- Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged
QuickTime::SGSetSoundInputDriver QuickTime::SGSetSoundInputDriver
QuickTime::SGSoundInputDriverChanged QuickTime::SGSoundInputDriverChanged
- Returns:
- the Sound Input driver in use by this channel.
All Packages Class Hierarchy This Package Previous Next Index